#ifndef EXTERNAL_LOGGER_H
#define EXTERNAL_LOGGER_H

#include "log_config.h"
#include <string>
/** Interface functor for external logging. */
using namespace vpm::log;
class ExternalLogger
{
public:
	virtual ~ExternalLogger()=0;
	/** return true to also do default logging, 
	 * false to supress default logging. */
	virtual bool operator()(LogConfig::LogLevel level,
			const std::string &logFile,
			int line,
			const std::string& message,
			const std::string& messageWithHeaders) = 0;
};

#endif  //

